import EditorConsole from '../components/EditorConsole'
import example from '../examples/array_spread'


The array spread syntax makes it easy to expand an array. This can be used to make a shallow copy of an array, optionally with other elements added to the copy.

<EditorConsole {...example} />
